<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/static/include/taglib.jsp"%>
<!DOCTYPE html >
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>后台管理--机构列表</title>
    <link href="${ctxStatic}/ligeruilib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css">
    <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet" />
    <link href="${ctxStatic}/css/kpiui.css" rel="stylesheet" />
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js"  type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/pingyou/pyresult.js?v=<%=System.currentTimeMillis()%>" type="text/javascript"></script>
    <style>
        .fangge{border: 2px solid #589DF5;height:20px;width:20px;
            line-height:20px;text-align: center;display:inline-block}
        .jhs{color: #FF9926;opacity: 0.4;}
        .btjhs{color: #FF9926;}
        .dls{color: #00FF2A;opacity: 0.4;}
        .btdls{color: #00FF2A;}
        .bmhj table tr{height:30px}
    </style>
    <style>
        .layui-table-view .layui-table-header th{padding:0}
        .layui-table-view{margin:0 0 10px 0}
        .layui-badge-dot{position: absolute;font-size: 8px;width:13px;height:13px;left:20px}
        .number-text{position: absolute;color:#ffffff;font-size:8px;left:23px;display: inline-block;top:-5px}
        .bcj-text{color: #888888;}

        .serchcontent table td{

             padding: 0px;
        }
    </style>
    <style>
        .l-text-field {height:30px}
    </style>
</head>
<body>

<div class="currentnav"><span class="tiao"></span><span class="navtitle">评优结果管理 </span></div>

<div class="tabregion">
    <div  class="layui-form">
        <div class="serchcontent">

            <div class="search">
                <table nostyle="1">
                    <tr>
                        <td style="width:60px;text-align:right">年份：</td>
                        <td style="width:80px;">
                            <select id="year" lay-filter="year">
                                <option value="0">全部</option>
                                <option value="2025">2025年</option>
                                <option value="2024">2024年</option>
                                <option value="2023">2023年</option>
                                <option value="2022">2022年</option>
                                <option value="2021">2021年</option>
                                <option value="2020">2020年</option>
                                <option value="2019">2019年</option>
                                <option value="2018">2018年</option>
                                <option value="2017">2017年</option>
                            </select>
                            <input type="hidden" id="hidyear" value="${year}"/>
                        </td>  <td style="text-align:right">姓名：</td>
                        <td  >
                            <input id="username"  lay-filter="username" type="text" class="text" style="width: 40px">
                        </td>
                        <td style="width:70px;text-align:right">组织评议：</td>
                        <td style="width:100px;">

                            <select id="zzpdjg" lay-filter="zzpdjg">
                                <option value="">所有</option>
                                <option value="好">好</option>
                                <option value="合格">合格</option>
                                <option value="差">差</option>
                                <option value="不定结果">不定结果</option>
                            </select>
                        </td>
                        <td style="width:70px;text-align:right">民主评议：</td>
                        <td style="width:100px;">
                            <select id="dymzpyjg" lay-filter="dymzpyjg">
                                <option value="">所有</option>
                                <option value="优秀">优秀</option>
                                <option value="合格">合格</option>
                                <option value="基本合格">基本合格</option>
                                <option value="不合格">不合格</option>
                                <option value="不定等次">不定等次</option>
                            </select>
                        </td>
                        <td style="width:70px;text-align:right">所属机构：</td>
                        <td style="width:200px;">
                            <!--   <select id="szdw" name="szdw" lay-filter="szdw">
		        <option value="">所有机构</option>
                <c:forEach var="item" items="${orglst}">
                  <option value="${item.orgid}">${item.orgname}</option>
                </c:forEach>
              </select>-->
                            <input type="text" id="orgid"   class="layui-input">
                            <input type="hidden" id="hidszdw" value="" />
                        </td>
                        <td>
                            <input type="button" class="button" value="查询" onclick="vPyResult.searchtable()" />
                            <input type="button" class="button" value="导出" onclick="vPyResult.exportexcel()" />
                            <!-- <input type="button" class="button" value="归档" onclick="vUserUATMzpd.openadd()" /> -->
                        </td>
                    </tr>

                </table>
            </div>
        </div>

    </div>

    <div class="content" style="margin-top:10px">


        <table class="layui-table" lay-data="" lay-filter="uatmzpdsummarylist">
            <thead>
            <tr>
                <th lay-data="{field:'realname', width:100,align:'center',fixed: 'left',templet: '#realnameTpl',event:'glxs'}" rowspan="2">姓名</th>
                <th lay-data="{field:'cardno', width:180,align:'center',event:'glxs'}" rowspan="2">身份证号</th>
                <th lay-data="{field:'orgname', width:200,align:'center',event:'glxs'}" rowspan="2">实际工作单位</th>


                <th lay-data="{field:'year', width:100,align:'center',event:'glxs'}" rowspan="2">年</th>
                <th lay-data="{field:'userno', width:100,align:'center',event:'glxs'}" rowspan="2">警号</th>
                <th lay-data="{align:'center'}" colspan="4">第一季度</th>
                <th lay-data="{align:'center'}" colspan="4">第二季度</th>
                <th lay-data="{align:'center'}" colspan="4">第三季度</th>
                <th lay-data="{align:'center'}" colspan="4">第四季度</th>
                <th lay-data="{width: 120, align: 'center', toolbar: '#operate1',event:'glxs'}" rowspan="2">特殊事项说明</th>
                <th lay-data="{ width: 80, align: 'center', toolbar: '#operate',event:'glxs'}" rowspan="2">操作</th>
            </tr>
            <tr>
                <th lay-data="{field:'yzhdf', width:100,align:'center',style:'color: #FCFF04;',event:'glxs'}">综合评分</th>
                <th lay-data="{field:'yzzpdjg', width:100,align:'center',style:'color: #FCFF04;',event:'glxs'}">组织评定</th>
                <th lay-data="{field:'ydymzpyjg', width:100,align:'center',style:'color: #FCFF04;',toolbar: '#ydy',event:'glxs'}">民主评定</th>
                <th lay-data="{field:'yszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>

                <th lay-data="{field:'ezhdf', width:100,align:'center',style:'color: #FCFF04;',event:'glxs'}">综合评分</th>
                <th lay-data="{field:'ezzpdjg', width:100,align:'center',style:'color: #FCFF04;',event:'glxs'}">组织评定</th>
                <th lay-data="{field:'edymzpyjg', width:100,align:'center',style:'color: #FCFF04;',toolbar: '#edy',event:'glxs'}">民主评定</th>
                <th lay-data="{field:'eszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>

                <th lay-data="{field:'szhdf', width:100,align:'center',style:'color: #FCFF04;',event:'glxs'}">综合评分</th>
                <th lay-data="{field:'szzpdjg', width:100,align:'center',style:'color: #FCFF04;',event:'glxs'}">组织评定</th>
                <th lay-data="{field:'sdymzpyjg', width:100,align:'center',style:'color: #FCFF04;',toolbar: '#sdy',event:'glxs'}">民主评定</th>
                <th lay-data="{field:'sszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>

                <th lay-data="{field:'sizhdf', width:100,align:'center',style:'color: #FCFF04;',event:'glxs'}">综合评分</th>
                <th lay-data="{field:'sizzpdjg', width:100,align:'center',style:'color: #FCFF04;',event:'glxs'}">组织评定</th>
                <th lay-data="{field:'sidymzpyjg', width:100,align:'center',style:'color: #FCFF04;',toolbar: '#sidy',event:'glxs'}">民主评定</th>
                <th lay-data="{field:'siszdwname', width:100,align:'center',style:'color: #FCFF04;'}">所属部门</th>
            </tr>
            </thead>
        </table>


        <!--  <div id="list" class="list" lay-filter="list"></div>-->
        <script type="text/html" id="operate" lay-filter="operate">
            {{#  if(d.status == 1&&d.yzhdf!=null&&d.ezhdf!=null&&d.szhdf!=null&&d.sizhdf!=null){ }}
            <img class="btn-img" src="${ctxStatic}/images/button/good_icon.png" lay-event="btnsb" alt="优秀确认" title="优秀确认">
            {{#  } }}
            {{#  if(d.status == 2){ }}
            <span style="color: #00FF2A;">已归档</span>
            {{#  } }}
        </script>

        <script type="text/html" id="operate1" lay-filter="operate">
            {{#  if(d.wjcount>0){ }}
            <a style="position: relative;" href="#"><img class="btn-img" src="${ctxStatic}/images/button/weijishuoming_icon.png" lay-event="wjsm" alt="违纪说明" title="违纪说明">
                <span class="layui-badge-dot"></span><span class="number-text">{{ d.wjcount }}</span>
            </a>
            {{#  } }}

        </script>


        <script type="text/html" id="ydy" lay-filter="operatey">
            {{#  if(d.zzmm!='中共党员'&&d.zzmm!='中共预备党员'&& d.yzzpdjg!=null){ }}
            <span class="bcj-text">不参加</span>
            {{#  } }}

            {{#  if((d.zzmm=='中共党员'||d.zzmm=='中共预备党员')&&d.yzzpdjg!=null){ }}
            {{ d.ydymzpyjg }}
            {{#  } }}
        </script>

        <script type="text/html" id="edy" lay-filter="operatee">
            {{#  if(d.zzmm!='中共党员'&&d.zzmm!='中共预备党员'&& d.ezzpdjg!=null){ }}
            <span class="bcj-text">不参加</span>
            {{#  } }}

            {{#  if((d.zzmm=='中共党员'||d.zzmm=='中共预备党员')&& d.ezzpdjg!=null){ }}
            {{ d.edymzpyjg }}
            {{#  } }}

        </script>

        <script type="text/html" id="sdy" lay-filter="operates">
            {{#  if(d.zzmm!='中共党员'&&d.zzmm!='中共预备党员'&&d.szzpdjg!=null){ }}
            <span class="bcj-text">不参加</span>
            {{#  } }}

            {{#  if((d.zzmm=='中共党员'||d.zzmm=='中共预备党员')&&d.szzpdjg!=null){ }}
            {{ d.sdymzpyjg }}
            {{#  } }}

        </script>

        <script type="text/html" id="sidy" lay-filter="operatesi">
            {{#  if(d.zzmm!='中共党员'&&d.zzmm!='中共预备党员'&&d.sizzpdjg!=null){ }}
            <span class="bcj-text">不参加</span>
            {{#  } }}

            {{#  if((d.zzmm=='中共党员'||d.zzmm=='中共预备党员')&&d.sizzpdjg!=null){ }}
            {{ d.sidymzpyjg }}
            {{#  } }}

        </script>

        <script type="text/html" id="realnameTpl">
            <span class="dbclickspan" ondblclick="OpenUserInfo({{ d.userid }},'{{ d.realname }}')"> {{ d.realname }}<span>
        </script>
    </div>
</div>
</body>
</html>